//
//  Deck.h
//  Test_CD_SL_2
//
//  Created by Timothy Costa on 9/18/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class Deck;
@class Card;

@interface Deck :  NSManagedObject  
{
}

@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSDate * dateCreated;
@property (nonatomic, retain) NSSet * cards;

@end


@interface Deck (CoreDataGeneratedAccessors)
- (void)addCardsObject:(NSManagedObject *)value;
- (void)removeCardsObject:(NSManagedObject *)value;
- (void)addCards:(NSSet *)value;
- (void)removeCards:(NSSet *)value;
- (Card*)addNewCard;
+ (NSArray*)deckKeys;
- (NSDictionary*)deckDictionary;
- (void)setDeckDictionary;

@end

